package speedball;


import javafx.application.Application;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.shape.SVGPath;
import javafx.stage.Stage;

public class Main1 extends Application {

    @Override
    public void start(Stage stage) {
        final Group group = new Group();
        Scene scene = new Scene(group, 300, 150);
        stage.setScene(scene);
        stage.setTitle("Sample");
        SVGPath svg = new SVGPath();
//        svg.setContent("M40,60 C42,48 44,30 25,32");
        svg.setContent("M 150 50 L 550,50 A 50 50 0 0 1 600,100 L 600,350 A 50 50 0 0 1 550,400 L 400,400 A 50 50 0 0 1 350,350 L 350,300 A 50 50 0 0 0 300,250 L 250,250 A 50 50 0 0 0 200,300 L 200,450 A 50,50 0 0 1 150,500 A 50 50 0 0 1 100,450 L 100,100 A 50 50 0 0 1 150,50 z");
        group.getChildren().add(svg);
        stage.show();
    }

    public static void main(String[] args) {
        launch(args);
    }
}
